package com.ruoyi.slope.warning.method.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预警方式对象 slope_warning_method
 * 
 * @author psy
 * @date 2025-04-27
 */
public class SlopeWarningMethod extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 逻辑主键id */
    private Long id;

    /** 预警名称 */
    @Excel(name = "预警名称")
    private String warningName;

    /** 预警类型 */
    @Excel(name = "预警类型")
    private String warningType;

    /** 参数 */
    @Excel(name = "参数")
    private String parameters;

    /** 部门ID */
    private Long deptId;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setWarningName(String warningName) 
    {
        this.warningName = warningName;
    }

    public String getWarningName() 
    {
        return warningName;
    }

    public void setWarningType(String warningType) 
    {
        this.warningType = warningType;
    }

    public String getWarningType() 
    {
        return warningType;
    }

    public void setParameters(String parameters) 
    {
        this.parameters = parameters;
    }

    public String getParameters() 
    {
        return parameters;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("warningName", getWarningName())
            .append("warningType", getWarningType())
            .append("parameters", getParameters())
            .append("deptId", getDeptId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
